Package com.cisco.pt.ipc.sim.pdu
Interface PPPoeHeader
- All Known Implementing Classes:
PPPoeHeaderImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()getType()voidvoidsetIpSubnet(String ipSubnet) voidvoidsetSessionId(Short sessionId) voidvoidsetVersion(Byte version) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getVersion
Byte getVersion()- Returns:
- Byte Returns a Byte
-
setVersion
- Parameters:
version- Takes in a parameter of version
-
getType
Byte getType()- Returns:
- Byte Returns a Byte
-
setType
- Parameters:
type- Takes in a parameter of type
-
getCode
Byte getCode()- Returns:
- Byte Returns a Byte
-
setCode
- Parameters:
code- Takes in a parameter of code
-
getSessionId
Short getSessionId()- Returns:
- Short Returns a Short
-
setSessionId
- Parameters:
sessionId- Takes in a parameter of sessionId
-
getLength
Short getLength()- Returns:
- Short Returns a Short
-
setLength
- Parameters:
length- Takes in a parameter of length
-
getIpSubnet
String getIpSubnet()- Returns:
- String Returns a String
-
setIpSubnet
- Parameters:
ipSubnet- Takes in a parameter of ipSubnet
-